Total Complexity | 34 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 277 |
Lines of code | 137 |
Logical lines of code | 72 |
Comment lines | 89 |
Methods | 12 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_current_clean_url() | 60 | 4 | 11 | |
__construct() | 53 | 3 | 21 | |
get_transient_name() | 67 | 4 | 6 | |
do_ajax_dashboard_news() | 72 | 4 | 4 | |
transient_for_dashboard_news() | 63 | 4 | 10 | |
get_dashboard_news_html() | 51 | 2 | 24 | |
pre_set_transient_for_dashboard_news() | 65 | 3 | 9 | |
dismiss_dashboard_news() | 65 | 3 | 8 | |
admin_print_footer_scripts() | 57 | 1 | 24 | |
wp_ajax_dashboard_widgets_low_priority() | 71 | 2 | 6 | |
wp_die_ajax_handler() | 72 | 2 | 6 | |
wp_ajax_dashboard_widgets_high_priority() | 67 | 2 | 8 |